package com.example.papercutting;

import android.content.Context;

public class Data {
    public static int canvasWidth;
    public static int canvasHeight;
    public static int backgroundColor = 0xFFE6D7C1;
    public static int transparentBackground = 0x00000000;
    public static int checkedBackground = 0x80808080;
    public static int paintWidth = 5;
    public static float degrees = 60;
    public static int rotateNumber = 6;
    public static float startAngle = 270;
    public static float sweepAngle = 30;

    public static void setCanvasSize(Context context) {
        canvasWidth = context.getResources().getDisplayMetrics().widthPixels * 3 / 4;
        canvasHeight = context.getResources().getDisplayMetrics().heightPixels * 5 / 8;
    }
}
